package com.coding.service;

import com.coding.base.pojo.BaseModel;
import com.coding.pojo.Tasklist;

/**
 * @auther wangchenghao
 * @date 2020/7/26
 **/
public interface TasklistService {
    //根据user_id查找任务
    void getlistbyid(int user_id, BaseModel baseModel)throws Exception;
    //完成任务
    void finishtask(int user_id ,int task_id,BaseModel baseModel)throws Exception;
    //完成任务(姓名）
    void finishtask(String user_account ,int task_id,BaseModel baseModel)throws Exception;
    //新增任务
    void inserttasklist(int user_id ,int task_id,String more,BaseModel baseModel)throws Exception;
    //条件查询任务列表
    void queryall(Tasklist tasklist, BaseModel baseModel)throws Exception;
    //获得今日完成任务列表
    void queryDayFinish(int user_id,BaseModel baseModel)throws Exception;


}
